package com.ywq.app.biz.impl;

import java.util.List;

import com.ywq.app.biz.TestBiz;
import com.ywq.app.dao.TestDao;
import com.ywq.app.domain.Test;

public class TestImpl implements TestBiz{
	
	private TestDao testDao;
	
	public void insert(Test test) throws Exception {
		testDao.insert(test);
	}
	
	@Override
	public List<Test> findAll() throws Exception {
		return testDao.findAll();
	}

	public TestDao getTestDao() {
		return testDao;
	}

	public void setTestDao(TestDao testDao) {
		this.testDao = testDao;
	}
	
}
